/*
 *
 * @User: winter
 * @Date: 2019/12/2
 * @Time: 12:11 下午
 *
 */

#app {
  .icon {
    width: .3rem;
    height: .29rem;
    fill: currentColor;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
  }

  .container {
    padding-bottom: .24rem;

    .header {
      width: 100%;
      height: .44rem;
      padding: .09rem .15rem;

      .header-logo {
        width: 1.04rem;
        height: .26rem;
        background-image: url("../img/logo@2x.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
      }
    }

    .banner {
      width: 3.75rem;
      height: 1.60rem;

      .swiper-container {
        .swiper-wrapper {
          .swiper-slide-1 {
            text-align: center;
            width: 3.75rem;
            height: 1.6rem;
            background-image: url("../img/hpc/banner-HPC@3x.png");
            background-size: 100% 100%;
            background-repeat: no-repeat;
          }
        }
      }
    }

    .exhibition {
      height: .72rem;
      padding-top: .3rem;
      padding-bottom: .2rem;
      text-align: center;
      background-color: transparent;

      span {
        display: inline-block;
        vertical-align: top;
        font-size: .16rem;
        font-weight: 500;
        color: var(--color-text-three-title);
        line-height: .22rem;
        position: relative;
        margin-right: .05rem;
      }

      span:before {
        content: "";
        width: .01rem;
        height: .15rem;
        background-color: var(--color-warning);
        position: absolute;
        left: calc(50% - .01rem);
        top: -.2rem;
      }
    }

    .tradition {
      &-box {
        padding-left: .11rem;
        padding-right: .11rem;
        padding-bottom: .4rem;
      }

      &-img {
        height: 1.8rem;
      }

      &-describe {
        display: flex;
        padding: 0 .05rem;
        display: -webkit-flex;
        align-content: center;
        justify-items: center;

        .item {
          flex: 1;
          display: flex;
          display: -webkit-flex;
          margin: 0 .02rem;
          flex-wrap: wrap;
          box-sizing: content-box;

          .arrow {
            width: 100%;
            text-align: center;
            height: .2rem;
            padding-top: .03rem;
            padding-bottom: .1rem;
            box-sizing: content-box;

            img {
              width: .2rem;
              height: .2rem;
              vertical-align: top;
            }
          }

          .remarks {
            width: 100%;
            height: .57rem;
            border-radius: .05rem;
            border: .01rem solid rgba(166, 166, 166, 1);
            padding-left: .05rem;

            div {
              width: 100%;
              font-size: .12rem;
              font-family: PingFangSC-Regular, PingFang SC;
              font-weight: 400;
              line-height: .17rem;
            }

            div:first-child {
              span {
                color: rgba(240, 130, 0, 1);
              }
            }

            div:last-child {
              span {
                color: var(--color-info);
              }
            }
          }

          .img {
            margin-top: .2rem;
            width: 100%;
            display: flex;
            display: -webkit-flex;

            .left, .right {
              flex: 1;
              display: inline-block;
              vertical-align: top;
              text-align: center;

              .icon {
                width: 100%;
                height: .3rem;
                display: block;

                .slow {
                  width: .3rem;
                  height: .26rem;
                }

                .expensive {
                  width: .3rem;
                  height: .3rem;
                }

                .security {
                  width: .26rem;
                  height: .3rem;
                }

                .flexible {
                  width: .33rem;
                  height: .3rem;
                }

                img {
                  vertical-align: top;
                }
              }


              .text {
                margin-top: .05rem;
                width: 100%;
                font-size: .14rem;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: rgba(51, 51, 51, 1);
                line-height: .2rem;
              }
            }
          }
        }

        .item:last-child {
          .remarks {
            padding-top: .12rem;
          }
        }
      }
    }

    .benefit {
      &-box {
        padding-right: .15rem;
        padding-left: .15rem;

        .elements {
          padding-top: .3rem;
          display: flex;
          display: -webkit-flex;
          flex-wrap: wrap;

          .left {
            width: .55rem;
            text-align: right;

            img {
              width: .55rem;
              height: .55rem;
              vertical-align: top;
            }
          }

          .right {
            flex-basis: 0;
            flex-grow: 1;
            padding-left: .1rem;

            .title {
              height: .3rem;

              span {
                font-size: .14rem;
                font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                font-weight: 500;
                color: rgba(51, 51, 51, 1);
                line-height: .3rem;
                display: inline-block;
                vertical-align: top;

                em {
                  display: inline-block;
                  vertical-align: top;
                  width: 50%;
                  height: .01rem;
                  background-color: #DBDBDB;
                }
              }


            }

            .text {
              padding-top: .2rem;
              padding-bottom: .2rem;
              font-size: .12rem;
              font-family: SourceHanSansCN-Regular, SourceHanSansCN;
              font-weight: 400;
              color: rgba(119, 119, 119, 1);
              line-height: .18rem;
            }
          }
        }

        .elements[data-id='2'] {
          .left {
            width: .9rem;
          }
        }

        .elements[data-id='3'] {
          .left {
            width: .58rem;
          }
        }

        .elements[data-id='4'] {
          .left {
            width: 1.15rem;
          }
        }

        .line {
          width: 100%;
          display: flex;
          display: -webkit-flex;

          span {
            flex: 1;
            display: inline-block;
            width: 100%;
            height: .01rem;
            background-color: #F4F4F4;
          }

          span.active {
            background-color: #FAC123;
          }
        }
      }
    }

    .apps {
      &-box {
        padding: .3rem .15rem;

        .items {
          display: flex;
          display: -webkit-flex;
          flex-wrap: wrap;

          .item {
            flex: 0 0 50%;
            height: 1.05rem;
            background-repeat: no-repeat;
            background-size: 100% 100%;

            .show {
              display: none;
              height: 100%;

              .mask {
                width: 100%;
                height: 100%;
                display: flex;
                display: -webkit-flex;

                .left {
                  width: .3rem;
                  height: 100%;
                  text-align: center;
                  padding-top: .13rem;

                  img {
                    vertical-align: top;
                  }
                }

                .right {
                  flex-basis: 0;
                  flex-grow: 1;

                  .title {
                    padding-top: .13rem;
                    font-size: .13rem;
                    font-family: PingFangSC-Medium, PingFang SC;
                    font-weight: 500;
                    color: rgba(51, 51, 51, 1);
                    line-height: .18rem;
                  }

                  .remarks {
                    font-size: .12rem;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: rgba(51, 51, 51, 1);
                    line-height: .17rem;
                  }
                }
              }
            }

            .content {
              width: 100%;
              height: 100%;

              .apps-icon {
                text-align: center;
                padding-top: .26rem;
                width: 100%;
                display: flex;
                display: -webkit-flex;
                justify-content: center;

                img {
                  vertical-align: top;
                }
              }

              .text {
                padding-top: .05rem;
                text-align: center;
                font-size: .16rem;
                font-family: PingFangSC-Medium, PingFang SC;
                font-weight: 500;
                color: rgba(255, 255, 255, 1);
                line-height: .22rem;
              }
            }

          }

          .item[data-id='1'] {
            background-image: url("../img/hpc/bg-1@3x.png");

            .show {
              .mask {
                .left > img {
                  width: .14rem;
                  height: .14rem;
                }
              }
            }

            .content {
              .apps-icon > img {
                width: .22rem;
                height: .22rem;
              }
            }
          }

          .item[data-id='2'] {
            .show {
              .mask {
                .left > img {
                  width: .15rem;
                  height: .12rem;
                }
              }
            }

            .content {
              .apps-icon > img {
                width: .24rem;
                height: .18rem;
              }
            }

            background-image: url("../img/hpc/bg-2@3x.png");
          }

          .item[data-id='3'] {
            .show {
              .mask {
                .left > img {
                  width: .16rem;
                  height: .09rem;
                }
              }
            }

            .content {
              .apps-icon > img {
                width: .3rem;
                height: .17rem;
              }
            }

            background-image: url("../img/hpc/bg-3@3x.png");
          }

          .item[data-id='4'] {
            .show {
              .mask {
                .left > img {
                  width: .19rem;
                  height: .08rem;
                }
              }
            }

            .content {
              .apps-icon > img {
                width: .35rem;
                height: .14rem;
              }
            }

            background-image: url("../img/hpc/bg-4@3x.png");
          }

          .item[data-id='5'] {
            .show {
              .mask {
                .left > img {
                  width: .15rem;
                  height: .12rem;
                }
              }
            }

            .content {
              .apps-icon > img {
                width: .23rem;
                height: .18rem;
              }
            }

            background-image: url("../img/hpc/bg-5@3x.png");
          }

          .item[data-id='6'] {

            .show {
              .mask {
                .left > img {
                  width: .2rem;
                  height: .18rem;
                }
              }
            }

            .content {
              .apps-icon > img {
                width: .26rem;
                height: .22rem;
              }
            }

            background-image: url("../img/hpc/bg-6@3x.png");
          }

          .item.active {
            background-color: rgba(250, 193, 35, 1);
            background-image: initial;

            .show {
              display: block;
            }

            .content {
              display: none;
            }
          }
        }
      }
    }

    .testimonial_box {
      .testimonial_swiper {
        .swiper-container {
          overflow: initial;

          .testimonial_swiper_in_container {
            width: calc(100% - .68rem);
            margin: 0 auto;
            overflow: hidden;

            .swiper-wrapper {
              .swiper-slide {
                &-box {
                  padding-top: .4rem;
                  padding-bottom: .02rem;
                }

                &-msg {
                  position: relative;
                  width: 2.95rem;
                  height: 2.68rem;
                  margin-left: .04rem;
                  box-shadow: 0 .02rem .06rem 0 rgba(241, 188, 39, 0.65);
                  border-radius: .08rem;

                  &-img {
                    width: .50rem;
                    height: .50rem;
                    border-radius: 50%;
                    position: absolute;
                    top: -0.25rem;
                    left: calc(50% - .25rem);

                    img {
                      display: block;
                    }
                  }
                }

                &-msg:before {
                  content: '';
                  height: 1px;
                  display: block;
                }

                &-title {
                  text-align: center;
                  margin-top: calc(.39rem - 1px);
                  height: .2rem;
                  font-size: .14rem;
                  font-weight: 500;
                  color: var(--color-text-one-title);
                  line-height: .2rem;
                }

                &-info {
                  //width:251px;
                  //height:131px;
                  padding: .10rem .13rem;
                  font-size: .12rem;
                  font-weight: 400;
                  color: var(--color-text-one-title);
                  line-height: .18rem;
                  text-align: center;

                  o {
                    width: .23rem;
                    height: .18rem;
                    margin-top: -.05rem;
                    background-image: url("../img/semiconductor/ic-douhao@2x.png");
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    display: inline-block;
                    zoom: 1;
                    letter-spacing: normal;
                    word-spacing: normal;
                    vertical-align: top;
                    text-rendering: auto;
                  }
                }
              }
            }

            .swiper-button-next {
              width: .2rem;
              height: .2rem;
              //border: 2px solid rgba(8, 94, 236, 1);
              border-radius: 50%;
              background-image: url("../img/semiconductor/ic-right@2x.png");
              background-size: 100% 100%;
              margin-top: 0;
              outline: none;
            }

            .swiper-button-prev {
              width: .2rem;
              height: .2rem;
              //border: 2px solid rgba(8, 94, 236, 1);
              border-radius: 50%;
              background-image: url("../img/semiconductor/ic-left@2x.png");
              background-size: 100% 100%;
              margin-top: 0;
              outline: none;
            }

            .swiper-pagination {
              bottom: -.3rem;

              .swiper-pagination-bullet {
                width: .08rem;
                height: .08rem;
                background: none;
                border: .01rem solid var(--color-text-one-title);
              }

              .swiper-pagination-bullet-active {
                background: var(--color-text-one-title);
              }
            }
          }
        }
      }
    }

    .information_box {
      width: 3.75rem;
      height: 1.46rem;
      background-image: url("../img/life/banner-0@3x.png");
      background-size: 100% 100%;
      background-repeat: no-repeat;
      margin-top: .4rem;
      margin-bottom: .2rem;

      .title {
        padding-top: .3rem;
        width: 100%;
        font-size: .18rem;
        font-weight: 500;
        color: white;
        line-height: .22rem;
        text-align: center;
      }

      .button {
        width: 100%;
        height: .32rem;
        text-align: center;
        margin-top: .24rem;

        span {
          padding: .07rem .17rem;
          display: inline-block;
          vertical-align: top;
          background: var(--color-warning);
          border-radius: .43rem;
          font-size: .12rem;
          font-weight: 400;
          color: var(--color-text-one-title);
          line-height: .18rem;
        }
      }
    }

    .partner_box {
      .partner {
        &_msg {
          display: flex;
          display: -webkit-flex;
          flex-wrap: wrap;
          justify-content: center;
          align-items: center;
        }

        &-1, &-2, &-3, &-4, &-5, &-6, &-7, &-8 {
          background-size: 100% 100%;
          background-repeat: no-repeat;
          margin-top: .2rem;
        }

        &-1 {
          width: .33rem;
          height: .19rem;
          background-image: url("../img/life/partner-1@3x.png");
          margin-right: .23rem;
        }

        &-2 {
          width: .66rem;
          height: .19rem;
          background-image: url("../img/life/partner-2@3x.png");
          margin-right: .24rem;
        }


        &-3 {
          width: .99rem;
          height: .16rem;
          background-image: url("../img/life/partner-3@3x.png");
          margin-right: .23rem;
        }


        &-4 {
          width: .76rem;
          height: .17rem;
          background-image: url("../img/life/partner-4@3x.png");
        }

        &-5 {
          width: .62rem;
          height: .17rem;
          background-image: url("../img/life/partner-5@3x.png");
          margin-right: .26rem;
        }

        &-6 {
          width: .66rem;
          height: .15rem;
          background-image: url("../img/life/partner-6@3x.png");
          margin-right: .26rem;
        }

        &-7 {
          width: .79rem;
          height: .14rem;
          background-image: url("../img/life/partner-7@3x.png");
          margin-right: .26rem;
        }

        &-8 {
          width: .76rem;
          height: .16rem;
          background-image: url("../img/life/partner-8@3x.png");
        }
      }

    }

    .copyright_box {
      padding-top: .2rem;
      font-size: .1rem;
      font-weight: 500;
      color: rgba(80, 80, 80, 1);
      line-height: .14rem;
      text-align: center;
      a {
        color: rgba(80, 80, 80, 1);
      }
    }
  }

  .popup_box {
    .modals {
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      display: none;
      z-index: 1000;
      overflow: auto;
      background-color: rgba(0, 0, 0, .59);

      .modal {
        width: 100vw;
        height: 100vh;
        position: relative;

        &-dialog {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);

          &-top {
            .close_box {
              .close {

              }
            }
          }
        }
      }
    }
  }

  #app_modals {
    .modal {
      &-dialog {
        width: 3.21rem;
        padding-top: .15rem;
        padding-bottom: .15rem;
        background-color: white;
        border-radius: .06rem;
      }

      &-top {
        width: 3.45rem;
        height: 1.67rem;
        margin-left: -.12rem;
        background: linear-gradient(135deg, rgba(86, 120, 242, 1) 0%, rgba(28, 52, 214, 1) 100%);

        .close {
          &_box {
            padding: .08rem .18rem;
            overflow: hidden;

            .close {
              width: .15rem;
              height: .15rem;
              background-image: url("../img/life/ic-close@3x.png");
              background-repeat: no-repeat;
              background-size: 100% 100%;
              float: right;
            }
          }
        }

        .title {
          font-size: .26rem;
          font-weight: 500;
          color: white;
          padding-left: .37rem;
          line-height: .30rem;
        }

        .msg {
          font-size: .12rem;
          font-weight: 400;
          color: white;
          line-height: .17rem;
          padding-left: .37rem;
          padding-top: .1rem;
        }
      }

      &-middle {
        padding: .2rem .25rem;

        .title {
          height: .31rem;
          font-size: .14rem;
          font-weight: 400;

          line-height: .16rem;
          padding-bottom: .12rem;

          em {
            color: var(--2B43E1);
          }

          span {
            color: var(--color-text-one-title);
          }
        }


        .input {
          &_name, &_phone {
            //text-align: center;
            height: .56rem;
            padding-bottom: .2rem;
            position: relative;

            .ic_name {
              position: absolute;
              top: .06rem;
              left: .09rem;
              width: .2rem;
              height: .2rem;
              background-image: url("../img/life/from-ic-name@3x.png");
              background-repeat: no-repeat;
              background-size: 100% 100%;
            }

            .ic_phone {
              position: absolute;
              top: .07rem;
              left: .11rem;
              width: .16rem;
              height: .22rem;
              background-image: url("../img/life/from-ic-phone@3x.png");
              background-repeat: no-repeat;
              background-size: 100% 100%;
            }

            input {
              width: 2.7rem;
              height: .34rem;
              font-size: .14rem;
              background: rgba(255, 255, 255, 1);
              vertical-align: top;
              border: .01rem solid #aaa;
              outline: none;
              box-shadow: 0 .01rem .04rem 0 rgba(106, 106, 106, 0.5);
              -webkit-box-shadow: 0 .01rem .04rem 0 rgba(106, 106, 106, 0.5);
              -moz-box-shadow: 0 .01rem .04rem 0 rgba(106, 106, 106, 0.5);
              padding-left: .41rem;
              line-height: .2rem;
            }

            input::-webkit-input-placeholder {
              color: rgba(160, 160, 160, 1);
            }

            ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
              color: rgba(160, 160, 160, 1);
            }

            :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
              color: rgba(160, 160, 160, 1);
            }

            ::-moz-placeholder { /* Mozilla Firefox 19+ */
              color: rgba(160, 160, 160, 1);
            }

            :-ms-input-placeholder { /* Internet Explorer 10-11 */
              color: rgba(160, 160, 160, 1);
            }

            input:focus {
              border: .01rem solid rgba(43, 67, 225, 1);
            }
          }
        }

        .button {
          padding-top: .09rem;
          height: .41rem;
          text-align: center;

          button {
            width: .82rem;
            height: .32rem;
            color: white;
            font-size: .20rem;
            font-weight: 500;
            line-height: .28rem;
            background-color: var(--2B43E1);
            vertical-align: top;
            outline: none;
            border: 0;
          }
        }
      }
    }
  }

  #submit_modals {
    .modal {
      &-dialog {
        width: 2.78rem;
        padding-top: .37rem;
        padding-bottom: .22rem;
        background-color: white;
        border-radius: .06rem;
      }

      &-top {
        text-align: center;
        height: .76rem;
        padding-bottom: .22rem;

        img {
          width: .54rem;
          height: .54rem;
          vertical-align: top;
        }
      }

      &-middle {
        padding-left: .21rem;
        padding-right: .22rem;

        .title {
          height: .3rem;
          font-size: .16rem;
          font-weight: 500;
          color: rgba(51, 51, 51, 1);
          line-height: .22rem;
          text-align: center;
          padding-bottom: .08rem;
        }

        .msg {
          text-align: center;
          height: .64rem;
          font-size: .12rem;
          font-weight: 400;
          color: rgba(119, 119, 119, 1);
          line-height: .17rem;
          padding-bottom: .3rem;
        }

        .button {
          height: .3rem;
          text-align: center;

          button {
            vertical-align: top;
            width: .72rem;
            height: .30rem;
            background: rgba(85, 119, 241, 1);
            border-radius: .26rem;
            font-size: .16rem;
            font-weight: 500;
            color: white;
            line-height: .22rem;
            outline: none;
            border: 0;
          }
        }
      }

    }
  }
}
